home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / lwd11.zip / LWD.DOC next >
Text File  |  1992-12-15  |  5KB  |  91 lines

  1.               -------------------------
  2.               LIVESTOCK WEIGHTS DISPLAY
  3.               -------------------------
  4.  
  5. LWD (Livestock Weights Display) is a vertical market application for
  6. livestock auction marts.  It will probably need to be modified to be
  7. used in a particular auction mart.  The source code is available for
  8. 15 dollars.  Although LWD was written using Borland C++ 3.1, this is
  9. a C program.  Please specify the disk size required when placing an
  10. order (5-1/4 or 3-1/2 inch).  My address follows this documentation.
  11. You will receive the source and project files (LWD.C and LWD.PRJ) in
  12. addition to the support library and its header files.  To understand
  13. how LWD works, information on how a livestock auction mart works is
  14. presented before LWD is described.
  15.  
  16. This auction mart deals in cattle sales.  Ranchers and farmers ship
  17. cattle to the mart prior to a sale.  Buyers meet to make purchases.
  18. Cattle are sold in lots of one or more animals.  A bidding process
  19. ensues for each lot and the lot is sold to the highest bidder.  Buy-
  20. ers pay a certain price per pound.  The amount paid is total number
  21. of pounds multiplied by price per pound.  The mart makes commission
  22. on each sale.  The seller receives the amount paid less commission.
  23.  
  24. A large electronic display keeps track of important information used
  25. by buyers in making bidding decisions.  The information includes the
  26. number of animals in the ring, the total weight of this lot, and the
  27. average weight.  Since similar lots are sold one after the other, it
  28. is also helpful to buyers to see information from the previous sale.
  29.  
  30. Most cattle arrive at the mart the morning of the sale and many have
  31. been fed and watered before being shipped.  This inflates the weight
  32. of the animal and the extra weight can be considerable.  It would be
  33. unfair to the buyer to have to pay for the additional weight that is
  34. not part of the animal so an auction mart calculates shrinkage rate.
  35. This is a percentage of an animal's weight occupied by feed & water.
  36. The combined lot shrinkage is subtracted from the total weight which
  37. results in a more accurate total weight.
  38.  
  39. LWD runs on a personal computer connected to a monitor.  It requires
  40. a second monitor or television (a BLACK & WHITE TV is preferable due
  41. to large size (26 inch or better is needed) and sharp contrast).  It
  42. is possible to output the video signal to the TV as well as monitor
  43. by using additional hardware (consult your local computer dealer).
  44. The image appearing on the monitor should also appear on the tv set.
  45.  
  46. When LWD runs, the screen is divided into six rectangles.  Five con-
  47. tain a large zero digit and the sixth rectangle is reserved for data
  48. entry.  The upper-left rectangle contains the number of head for the
  49. last sale and the upper-right rectangle contains the total weight of
  50. the last sale.  The middle-left rectangle contains the number of
  51. head for the current lot and the middle-right rectangle contains the
  52. total weight for the current lot.  The lower-left rectangle is used
  53. for data entry and the lower-right rectangle contains the average
  54. weight for the current lot.
  55.  
  56. The first piece of required information is the shrinkage rate.  This
  57. is a percentage.  Examples include 3 (3 %) and 4.5 (4.5 %).
  58.  
  59. The number of head for the current lot must then be entered (includ-
  60. ing the number of calves).  The number must be greater than zero and
  61. is not allowed to exceed 99.
  62.  
  63. The scale weight is entered next.  As each animal enters the ring, a
  64. weight is calculated by having the animal step onto a special scale.
  65. Scale weights are entered in a loop fashion.  An ADD TO SCALE WEIGHT
  66. prompt allows you to enter the scale weight for another animal from
  67. the current lot.  The maximum weight that can be entered at any one
  68. time is 50000 pounds.  The total of all scale weights cannot exceed
  69. 99999 pounds.  Press Y for YES to add to the scale weight.  Press N
  70. for NO if no more scale weight is to be added.
  71.  
  72. If there are any baby calves in the lot then their combined weight &
  73. number can be subtracted from the total number of head and weight to
  74. prevent skewing of the average weight.  Because of weight difference
  75. between large and small animals (1000 pounds and 100 pounds), a less
  76. accurate average weight would result if small calves were not taken
  77. into account.  The number of calves must be less than the number of
  78. head.  If a nonzero value is entered then the combined weight can be
  79. entered.  This value cannot exceed 5000 pounds and must be less than
  80. the total weight.
  81.  
  82. The option to take shrinkage is presented.  Pressing Y for YES will
  83. cause shrinkage to be taken.  You can then press any key to continue
  84. causing the current number of head and total weight to scroll to the
  85. upper left and right rectangles.  The average weight, current number
  86. of head and current total weight figures are reset to zero.
  87.  
  88. Geoff Friesen
  89. Box 94
  90. Dauphin, Manitoba
  91. Canada R7N 2T9